package cn.itsource.pethome.org.domain;

import cn.itsource.pethome.basic.domain.BaseDomain;
import lombok.Data;


@Data
public class DictionaryType extends BaseDomain {
    private String name;
    private String sn;
    private DictionaryDetail children;

    private String value;
    private String label;
    /*提供get/set方法以便后台做新增下拉框的时候可以选择*/
    public String getValue(){
        return  this.id.toString();
    }
    public String getLabel(){
        return this.name;
    }
}
